<div class="layui-row layui-col-space15">
    <div class="layui-col-md9 widgets" area="4">
        <?php
        if (isset($layouts[4])) {
            foreach ($layouts[4] as $layout) {
                if ($layout['type'] == 2) {
        ?>
                    <div class="widget" type="2"><?php echo $layout['html'] ?></div>
                <?php
                } else {
                ?>
                    <div class="widget" type="1"><?php echo widget('uc/' . $layout['widgetident']) ?></div>
        <?php
                }
            }
        }
        ?>

    </div>
    <div class="layui-col-md3 widgets" area="5">
        <?php
        if (isset($layouts[5])) {
            foreach ($layouts[5] as $layout) {
                if ($layout['type'] == 2) {
        ?>
                    <div class="widget" type="2"><?php echo $layout['html'] ?></div>
                <?php
                } else {
                ?>
                    <div class="widget" type="1"><?php echo widget('uc/' . $layout['widgetident']) ?></div>

        <?php
                }
            }
        }
        ?>
    </div>
</div>